import requests
import app
class LoginAPI:
    def __init__(self):
        self.url = app.BASE_URL + "/api/sys/login"

    def login(self, login_data):
        return requests.post(url=self.url, json=login_data)


